import dva from 'dva';
import './index.css';
import {getConfiguration, setConfiguration} from "./utils/configuration";

// 1. Initialize
const app = dva();
const API_ROOT=''
setConfiguration('ROOT',API_ROOT)
let AAa=getConfiguration('ROOT')
console.log( 'API_ROOT',AAa)
// 2. Plugins
// app.use({});

// 3. Model
// app.model(require('./models/example'));

// 4. Router
app.router(require('./router'));

// 5. Start
app.start('#root');
